package com.hzx.zhihu.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hzx.zhihu.domain.po.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface UserMapper extends BaseMapper<User> {

    @Select("select *from user where openid = #{openid}")
    User selectByopenId(String openid);
}
